.ENV GET ENV VARIABLE
This subroutine returns the value of a environment variable.
Usage:
Description:
This subroutine returns the value of an environment variable. All parameters are required, if any are missing the subroutine will CANCEL.
<env_value> returns the value of the environment variable, if it found (Required). This must be PASSed with Share "Y" to return the value.
<env_name> is the name of the environment variable for which you want the value (Required).
If the field you passed is too short to contain the data, --- .ENV GET ENV VARIABLE will be set to "Data was truncated".
To get the value of a client constant, see .CLIENT GET CONSTANT. |